﻿@using WebApp.Extensions

@Html.Scripts(
    @<script type="text/javascript">
        require(['Auth/_Reset'], function (api) {
            $(function () { api.exec(); });
        });
    </script>)

<div class="featured-box featured-box-secundary default info-content">
    <div class="box-content">
        <h4>I have token</h4>
        <form action="#" id="sign-reset-form" data-bind="submit: resetPassword">
            <div class="row">
                <div class="form-group">
                    <div class="col-md-12">
                        <label class="control-label">Token</label>
                        <input type="text" class="form-control" data-bind="value: token" data-info="Enter Token" required />
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="form-group">
                    <div class="col-md-12">
                        <label>New Password</label>
                        <input type="password" class="form-control" data-bind="value: newpassword" data-info="Enter New password" required />
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="form-group">
                    <div class="col-md-12">
                        <label>Confirm Password</label>
                        <input type="password" class="form-control" data-bind="value: confirmpassword, valueUpdate: 'afterkeydown', executeOnEnter: resetPassword" data-info="Enter Confirm password" required />
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="col-md-6">

                </div>
                <div class="col-md-6">
                    <input type="submit" value="Reset" class="btn btn-primary pull-right push-bottom" />
                </div>
            </div>
        </form>
    </div>
</div>